import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 导入awesome.css文件（图标）
import './assets/fontIcon/css/font-awesome.css'
import 'amfe-flexible';
import remObj from './utils/rem'
remObj.initRootEvent()
import { Button, NavBar, Icon, Search, Tab, Tabs, Loading, Overlay } from 'vant';
Vue.use(Button).use(NavBar).use(Icon).use(Search).use(Tab).use(Tabs).use(Loading).use(Overlay)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
